package com.qd.pay.domain;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;


@Data
@Accessors(chain = true)
public class OrderReportNotifyLogDTO {

    private String logid;

    private LocalDateTime notifyTime;

    private LocalDateTime logTime;

    @Size(max = 200, message = "notifyUrl长度不能超过{max}位")
    private String notifyUrl;

    private String notifyBody;

    @Size(max = 50, message = "sfcg长度不能超过{max}位")
    private String sfcg;

    private String orderId;

    public void freeData() {
        this.logid = null;
        this.notifyTime = null;
        this.logTime = null;
        this.notifyUrl = null;
        this.notifyBody = null;
        this.sfcg = null;
        this.orderId = null;
    }
}
